<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>COCO数据集 | 炫动空间</title>
  <meta name="keywords" content=" demo ">
  <meta name="description" content="COCO数据集 | 炫动空间">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="页面未找到！生活不总是那么完美，那一个缺憾已经出现！！！">
<meta property="og:type" content="website">
<meta property="og:title" content="404">
<meta property="og:url" content="https://whghcyx.gitee.io/404.html">
<meta property="og:site_name" content="炫动空间">
<meta property="og:description" content="页面未找到！生活不总是那么完美，那一个缺憾已经出现！！！">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2019-12-28T15:30:05.000Z">
<meta property="article:modified_time" content="2023-06-19T05:58:36.657Z">
<meta property="article:author" content="宏沉一笑">
<meta property="article:tag" content="opencv">
<meta property="article:tag" content="AI">
<meta name="twitter:card" content="summary">


<link rel="icon" href="/img/avatar.jpg">

<link href="/css/style.css?v=1.0.1" rel="stylesheet">

<link href="/css/hl_theme/atom-light.css?v=1.0.1" rel="stylesheet">

<link href="//cdn.bootcss.com/animate.css/3.5.2/animate.min.css" rel="stylesheet">
<link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

<script src="//cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="/js/jquery.autocomplete.min.js?v=1.0.1" ></script>

<script src="//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
<script>
    hljs.initHighlightingOnLoad();
</script>

<script src="//cdn.bootcss.com/nprogress/0.2.0/nprogress.min.js"></script>



<script src="//cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js" ></script>

<script src="/js/iconfont.js?v=1.0.1" ></script>

<meta name="generator" content="Hexo 4.2.1"></head>
<div style="display: none">
  <input class="theme_disqus_on" value="false">
  <input class="theme_preload_comment" value="false">
  <input class="theme_blog_path" value="">
</div>

<body>
<aside class="nav">
    <div class="nav-left">
        <a href="/" class="avatar_target">
    <img class="avatar" src="/img/avatar.jpg" />
</a>
<div class="author">
    <span>宏沉一笑</span>
</div>

<div class="icon">
    
        
        <a title="github" href="https://github.com/WHG555" target="_blank">
            
                <svg class="iconfont-svg" aria-hidden="true" style="font-size:24px;">
                    <use xlink:href="#icon-github"></use>
                </svg>
            
        </a>
        
    
        
        <a title="weibo" href="http://weibo.com/u/277776871" target="_blank">
            
                <svg class="iconfont-svg" aria-hidden="true" style="font-size:24px;">
                    <use xlink:href="#icon-weibo"></use>
                </svg>
            
        </a>
        
    
        
        <a title="jianshu" href="https://www.jianshu.com/u/ec364c334414" target="_blank">
            
                <svg class="iconfont-svg" aria-hidden="true" style="font-size:24px;">
                    <use xlink:href="#icon-jianshu"></use>
                </svg>
            
        </a>
        
    
        
        <a title="zhihu" href="https://www.zhihu.com/people/hong-chen-yi-xiao-26/activities" target="_blank">
            
                <svg class="iconfont-svg" aria-hidden="true" style="font-size:24px;">
                    <use xlink:href="#icon-zhihu"></use>
                </svg>
            
        </a>
        
    
        
    
        
        <a title="email" href="mailto:whghcyx@outlook.com" target="_blank">
            
                <svg class="iconfont-svg" aria-hidden="true" style="font-size:24px;">
                    <use xlink:href="#icon-email"></use>
                </svg>
            
        </a>
        
    
        
        <a title="qq" href="http://wpa.qq.com/msgrd?v=3&uin=1002285542&site=qq&menu=yes" target="_blank">
            
                <svg class="iconfont-svg" aria-hidden="true" style="font-size:24px;">
                    <use xlink:href="#icon-qq"></use>
                </svg>
            
        </a>
        
    
</div>




<ul>
    <li><div class="all active">全部文章<small>(63)</small></div></li>
    
        
            
            <li><div data-rel="demo"><i class="fold iconfont icon-right"></i>demo<small>(3)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="demo">demo<small>(3)</small></div>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
            <li><div data-rel="知识">知识<small>(5)</small></div>
                
            </li>
            
        
    
        
            
        
    
        
            
            <li><div data-rel="安装">安装<small>(13)</small></div>
                
            </li>
            
        
    
        
            
            <li><div data-rel="AI"><i class="fold iconfont icon-right"></i>AI<small>(9)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="数据集">数据集<small>(3)</small></div>
                            
                        </li>
                            
                        <li><div data-rel="框架">框架<small>(1)</small></div>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
        
    
        
            
        
    
        
            
            <li><div data-rel="IT"><i class="fold iconfont icon-right"></i>IT<small>(8)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="python">python<small>(5)</small></div>
                            
                        </li>
                            
                        <li><div data-rel="C加加">C加加<small>(1)</small></div>
                            
                        </li>
                            
                        <li><div data-rel="LeetCode">LeetCode<small>(1)</small></div>
                            
                        </li>
                            
                        <li><div data-rel="ROS">ROS<small>(1)</small></div>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
            <li><div data-rel="obsidian"><i class="fold iconfont icon-right"></i>obsidian<small>(3)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="使用"><i class="fold iconfont icon-right"></i>使用<small>(1)</small></div>
                            
                                <ul class="sub hide">
                                    
                                    <li><div data-rel="内容">内容<small>(1)</small></div>
                                    </li>
                                    
                                </ul>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
        
    
        
            
            <li><div data-rel="使用"><i class="fold iconfont icon-right"></i>使用<small>(21)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="window">window<small>(2)</small></div>
                            
                        </li>
                            
                        <li><div data-rel="源">源<small>(2)</small></div>
                            
                        </li>
                            
                        <li><div data-rel="VSCode">VSCode<small>(1)</small></div>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
        
    
        
            
        
    
        
            
        
    
        
            
        
    
        
            
            <li><div data-rel="学习"><i class="fold iconfont icon-right"></i>学习<small>(1)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="C加加">C加加<small>(1)</small></div>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
        
    
        
            
            <li><div data-rel="软件"><i class="fold iconfont icon-right"></i>软件<small>(1)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="安装">安装<small>(1)</small></div>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
            <li><div data-rel="问题"><i class="fold iconfont icon-right"></i>问题<small>(2)</small></div>
                
                    <ul class="sub hide">
                        
                        <li><div data-rel="VS">VS<small>(1)</small></div>
                            
                        </li>
                            
                    </ul>
                
            </li>
            
        
    
        
            
        
    
        
            
        
    
        
            
        
    
        
            
        
    
        
            
        
    
        
            
        
    
</ul>
<div class="left-bottom">
    <div class="menus">
    
    
    
    
    </div>
    <div><a class="about  hasFriend  site_url"  href="/about">关于</a><a style="width: 50%"  class="friends">友链</a></div>
</div>
<input type="hidden" id="yelog_site_posts_number" value="63">
<input type="hidden" id="yelog_site_word_count" value="22.7k">
<div style="display: none">
    <span id="busuanzi_value_site_uv"></span>
    <span id="busuanzi_value_site_pv"></span>
</div>

    </div>
    <div class="nav-right">
        <div class="friends-area">
    <div class="friends-title">
        友情链接
        <i class="back-title-list"></i>
    </div>
    <div class="friends-content">
        <ul>
            
            <li><a target="_blank" href="https://whg555.github.io">炫动空间</a></li>
            
            <li><a target="_blank" href="https://whghcyx.gitee.io/web-url/">一笑导航</a></li>
            
        </ul>
    </div>
</div>
        <div class="title-list">
    <form onkeydown="if(event.keyCode==13){return false;}">
        <input class="search" type="text" placeholder="以 in: 开头进行全文搜索" autocomplete="off"id="local-search-input" >
        <i class="cross"></i>
        <span>
            <label for="tagswitch">Tags:</label>
            <input id="tagswitch" type="checkbox" style="display: none" />
            <i id="tagsWitchIcon"></i>
        </span>
    </form>
    <div class="tags-list">
    
    <li class="article-tag-list-item">
        <a class="color5">demo</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">下载</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">总览</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">注释</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">调试</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color4">obsidian</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color2">ubuntu</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color4">ros</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">软件</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">安卓</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">配置</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color4">cmd</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color1">Colab</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color2">tensorboard</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color5">Opencv 编译</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color1">conda</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color3">激活</a>
    </li>
    
    <li class="article-tag-list-item">
        <a class="color2">python</a>
    </li>
    
    <div class="clearfix"></div>
</div>

    
    <div id="local-search-result">

    </div>
    
    <nav id="title-list-nav">
        
        <a  class=""
           href="/2022/08/30/obstudy9/"
           data-tag=""
           data-author="" >
            <span class="post-title" title="obstudy9">obstudy9</span>
            <span class="post-date" title="2022-08-30 00:08:01">2022/08/30</span>
        </a>
        
        <a  class="AI "
           href="/2020/01/06/AI-2020-1-6-%E6%A8%A1%E5%9E%8B%E4%B8%8B%E8%BD%BD/"
           data-tag="下载"
           data-author="" >
            <span class="post-title" title="模型下载">模型下载</span>
            <span class="post-date" title="2020-01-06 11:57:44">2020/01/06</span>
        </a>
        
        <a  class="AI "
           href="/2020/01/19/AI-2020-1-19-%E6%9F%A5%E7%9C%8B%E6%A8%A1%E5%9E%8B%E4%B8%AD%E9%97%B4%E5%B1%82%E8%BE%93%E5%87%BA/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="查看模型中间层输出">查看模型中间层输出</span>
            <span class="post-date" title="2020-01-19 00:00:00">2020/01/19</span>
        </a>
        
        <a id="top" class="AI "
           href="/2020/01/07/AI-2020-1-7-AI%E8%A1%8C%E4%B8%9A%E5%AD%A6%E4%B9%A0/"
           data-tag="总览"
           data-author="" >
            <span class="post-title" title="AI行业学习">AI行业学习</span>
            <span class="post-date" title="2020-01-07 10:21:30">2020/01/07</span>
        </a>
        
        <a  class="AI "
           href="/2020/02/15/AI-2020-2-15-%E6%AC%A0%E6%8B%9F%E5%8C%96%E4%B8%8E%E8%BF%87%E6%8B%9F%E5%8C%96/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="欠拟合与过拟合">欠拟合与过拟合</span>
            <span class="post-date" title="2020-02-15 17:54:33">2020/02/15</span>
        </a>
        
        <a  class="AI 数据集 "
           href="/2020/02/04/AI-2020-2-4-CSV%E6%95%B0%E6%8D%AE%E9%9B%86/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="CSV数据集">CSV数据集</span>
            <span class="post-date" title="2020-02-04 14:28:49">2020/02/04</span>
        </a>
        
        <a  class="AI "
           href="/2020/01/07/AI-2020-1-7-%E6%95%B0%E6%8D%AE%E9%9B%86%E4%B8%8B%E8%BD%BD/"
           data-tag="下载"
           data-author="" >
            <span class="post-title" title="数据集下载">数据集下载</span>
            <span class="post-date" title="2020-01-07 11:39:15">2020/01/07</span>
        </a>
        
        <a  class="AI 数据集 "
           href="/2020/02/04/AI-2020-2-4-COCO%E6%95%B0%E6%8D%AE%E9%9B%86/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="COCO数据集">COCO数据集</span>
            <span class="post-date" title="2020-02-04 14:48:14">2020/02/04</span>
        </a>
        
        <a  class="AI 数据集 "
           href="/2020/02/05/AI-2020-2-5-VOC%E6%95%B0%E6%8D%AE%E9%9B%86/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="VOC数据集">VOC数据集</span>
            <span class="post-date" title="2020-02-05 14:42:38">2020/02/05</span>
        </a>
        
        <a  class="AI 框架 "
           href="/2020/02/04/AI-2020-2-4-mmdetection%E5%AE%89%E8%A3%85/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="mmdetection安装">mmdetection安装</span>
            <span class="post-date" title="2020-02-04 11:53:07">2020/02/04</span>
        </a>
        
        <a  class="IT python "
           href="/2020/04/02/IT-2020-4-2-ElementTree/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="xml.etree.ElementTree">xml.etree.ElementTree</span>
            <span class="post-date" title="2020-04-02 18:04:04">2020/04/02</span>
        </a>
        
        <a  class="IT C加加 "
           href="/2020/04/20/IT-2020-4-20-C-%E4%BB%A3%E7%A0%81%E6%B3%A8%E9%87%8A/"
           data-tag="注释"
           data-author="" >
            <span class="post-title" title="C++代码注释">C++代码注释</span>
            <span class="post-date" title="2020-04-20 00:00:00">2020/04/20</span>
        </a>
        
        <a  class="IT python "
           href="/2020/01/18/IT-2020-1-18-%E7%9B%B8%E5%AF%B9%E5%AF%BC%E5%85%A5/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="相对导入">相对导入</span>
            <span class="post-date" title="2020-01-18 00:00:00">2020/01/18</span>
        </a>
        
        <a  class="IT python "
           href="/2020/01/18/IT-2020-1-18-Python%E8%BE%93%E5%87%BA%E8%B0%83%E8%AF%95%E4%BF%A1%E6%81%AF/"
           data-tag="调试"
           data-author="" >
            <span class="post-title" title="Python输出调试信息">Python输出调试信息</span>
            <span class="post-date" title="2020-01-18 00:00:00">2020/01/18</span>
        </a>
        
        <a  class="IT LeetCode "
           href="/2020/08/17/IT-2020-8-17-1%E3%80%81%E4%B8%A4%E6%95%B0%E4%B9%8B%E5%92%8C/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="1、两数之和">1、两数之和</span>
            <span class="post-date" title="2020-08-17 00:00:00">2020/08/17</span>
        </a>
        
        <a  class="obsidian 使用 内容 "
           href="/2023/06/20/obsidian-obsidian/"
           data-tag="obsidian"
           data-author="" >
            <span class="post-title" title="obsidian">obsidian</span>
            <span class="post-date" title="2023-06-20 12:14:10">2023/06/20</span>
        </a>
        
        <a  class="IT python "
           href="/2020/04/20/IT-2020-4-20-Python%E4%BB%A3%E7%A0%81%E6%B3%A8%E9%87%8A/"
           data-tag="注释"
           data-author="" >
            <span class="post-title" title="Python代码注释">Python代码注释</span>
            <span class="post-date" title="2020-04-20 00:00:00">2020/04/20</span>
        </a>
        
        <a  class="安装 IT ROS "
           href="/2022/08/29/IT-2022-8-29-ubuntu%E5%AE%89%E8%A3%85%E6%B5%81%E7%A8%8B/"
           data-tag="ubuntu,ros"
           data-author="" >
            <span class="post-title" title="ros2-foxy安装流程">ros2-foxy安装流程</span>
            <span class="post-date" title="2022-08-29 00:00:00">2022/08/29</span>
        </a>
        
        <a  class="obsidian "
           href="/2022/09/01/obsidian-obsidian%E5%AE%89%E5%8D%93%E7%89%88%E6%9C%AC%E4%B8%8B%E8%BD%BD/"
           data-tag="下载,obsidian,软件,安卓"
           data-author="" >
            <span class="post-title" title="obsidian安卓版本下载">obsidian安卓版本下载</span>
            <span class="post-date" title="2022-09-01 00:00:00">2022/09/01</span>
        </a>
        
        <a  class="IT python "
           href="/2019/12/30/IT-Python%E5%B8%B8%E7%94%A8%E5%8C%85/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="Python常用包">Python常用包</span>
            <span class="post-date" title="2019-12-30 16:49:44">2019/12/30</span>
        </a>
        
        <a  class="obsidian "
           href="/2022/09/01/obsidian-obsidianPC%E7%89%88%E6%9C%AC%E4%B8%8B%E8%BD%BD/"
           data-tag="下载,obsidian,软件"
           data-author="" >
            <span class="post-title" title="obsidianPC版本下载">obsidianPC版本下载</span>
            <span class="post-date" title="2022-09-01 00:00:00">2022/09/01</span>
        </a>
        
        <a  class="使用 "
           href="/2020/01/06/%E4%BD%BF%E7%94%A8-2020-01-06-%E5%8F%B3%E9%94%AE%E8%8F%9C%E5%8D%95%E6%B7%BB%E5%8A%A0%E5%9C%A8%E6%AD%A4%E5%A4%84%E6%89%93%E5%BC%80%E5%91%BD%E4%BB%A4%E7%AA%97%E5%8F%A3/"
           data-tag="配置"
           data-author="" >
            <span class="post-title" title="右键菜单添加在此处打开命令窗口">右键菜单添加在此处打开命令窗口</span>
            <span class="post-date" title="2020-01-06 10:28:17">2020/01/06</span>
        </a>
        
        <a  class="使用 window "
           href="/2020/01/10/%E4%BD%BF%E7%94%A8-2020-1-10-cmd%E5%91%BD%E4%BB%A4%E5%AD%A6%E4%B9%A0/"
           data-tag="cmd"
           data-author="" >
            <span class="post-title" title="cmd命令学习">cmd命令学习</span>
            <span class="post-date" title="2020-01-10 00:00:00">2020/01/10</span>
        </a>
        
        <a  class="使用 window "
           href="/2020/01/06/%E4%BD%BF%E7%94%A8-2020-01-06-cmd%E8%84%9A%E6%9C%AC/"
           data-tag=""
           data-author="" >
            <span class="post-title" title="cmd脚本">cmd脚本</span>
            <span class="post-date" title="2020-01-06 10:26:03">2020/01/06</span>
        </a>
        
        <a  class="使用 "
           href="/2020/01/06/%E4%BD%BF%E7%94%A8-2020-01-06-host%E9%85%8D%E7%BD%AE/"
           data-tag=""
           data-author="" >
            <span class="post-title" title="host配置">host配置</span>
            <span class="post-date" title="2020-01-06 10:54:04">2020/01/06</span>
        </a>
        
        <a  class="使用 "
           href="/2019/12/30/%E4%BD%BF%E7%94%A8-2020-1-11-Git%E4%BD%BF%E7%94%A8/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="Git使用">Git使用</span>
            <span class="post-date" title="2019-12-30 16:49:44">2019/12/30</span>
        </a>
        
        <a  class="使用 "
           href="/2020/01/08/%E4%BD%BF%E7%94%A8-2020-1-8-%E5%9B%BE%E5%BA%8A/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="图床">图床</span>
            <span class="post-date" title="2020-01-08 00:00:00">2020/01/08</span>
        </a>
        
        <a  class="使用 "
           href="/2020/02/15/%E4%BD%BF%E7%94%A8-2020-2-21-Colab%E4%B8%AD%E4%BD%BF%E7%94%A8Git/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="colab使用git">colab使用git</span>
            <span class="post-date" title="2020-02-15 16:26:52">2020/02/15</span>
        </a>
        
        <a  class="使用 源 "
           href="/2020/02/04/%E4%BD%BF%E7%94%A8-2020-2-4-conda%E6%BA%90%E9%85%8D%E7%BD%AE/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="conda源配置">conda源配置</span>
            <span class="post-date" title="2020-02-04 12:28:26">2020/02/04</span>
        </a>
        
        <a  class="使用 "
           href="/2019/12/30/%E4%BD%BF%E7%94%A8-2020-1-19-samba%E9%85%8D%E7%BD%AE/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="samba配置">samba配置</span>
            <span class="post-date" title="2019-12-30 16:49:44">2019/12/30</span>
        </a>
        
        <a  class="使用 "
           href="/2019/12/30/%E4%BD%BF%E7%94%A8-2020-3-12-PyCharm%E4%BD%BF%E7%94%A8/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="PyCharm使用">PyCharm使用</span>
            <span class="post-date" title="2019-12-30 16:49:44">2019/12/30</span>
        </a>
        
        <a  class="使用 源 "
           href="/2020/02/04/%E4%BD%BF%E7%94%A8-2020-2-4-pip%E6%BA%90%E9%85%8D%E7%BD%AE/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="pip源配置">pip源配置</span>
            <span class="post-date" title="2020-02-04 11:58:55">2020/02/04</span>
        </a>
        
        <a  class="使用 "
           href="/2020/02/21/%E4%BD%BF%E7%94%A8-2020-2-21-Colab%E4%B8%AD%E4%BD%BF%E7%94%A8tensorboard/"
           data-tag="Colab,tensorboard"
           data-author="" >
            <span class="post-title" title="Colab中使用tensorboard">Colab中使用tensorboard</span>
            <span class="post-date" title="2020-02-21 11:50:45">2020/02/21</span>
        </a>
        
        <a  class="使用 "
           href="/2020/03/20/%E4%BD%BF%E7%94%A8-2020-2-6-conda%E4%BD%BF%E7%94%A8/"
           data-tag=""
           data-author="" >
            <span class="post-title" title="conda使用">conda使用</span>
            <span class="post-date" title="2020-03-20 11:44:07">2020/03/20</span>
        </a>
        
        <a  class="使用 "
           href="/2020/07/31/%E4%BD%BF%E7%94%A8-2020-7-31-VSCode%E4%BD%BF%E7%94%A8/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="VSCode使用">VSCode使用</span>
            <span class="post-date" title="2020-07-31 00:00:00">2020/07/31</span>
        </a>
        
        <a  class="使用 "
           href="/2020/04/01/%E4%BD%BF%E7%94%A8-2020-4-1-%E4%BB%A5%E7%AE%A1%E7%90%86%E5%91%98%E8%BA%AB%E4%BB%BD%E5%90%AF%E5%8A%A8%E7%A8%8B%E5%BA%8F/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="以管理员身份启动程序">以管理员身份启动程序</span>
            <span class="post-date" title="2020-04-01 09:27:51">2020/04/01</span>
        </a>
        
        <a  class="使用 "
           href="/2019/12/30/%E4%BD%BF%E7%94%A8-hexo/"
           data-tag=""
           data-author="" >
            <span class="post-title" title="hexo安装与使用教程">hexo安装与使用教程</span>
            <span class="post-date" title="2019-12-30 15:10:18">2019/12/30</span>
        </a>
        
        <a  class="使用 "
           href="/2020/03/24/%E4%BD%BF%E7%94%A8-2020-3-24-ffmpeg%E9%85%8D%E7%BD%AE/"
           data-tag=""
           data-author="" >
            <span class="post-title" title="ffmpeg使用">ffmpeg使用</span>
            <span class="post-date" title="2020-03-24 00:00:00">2020/03/24</span>
        </a>
        
        <a  class="使用 VSCode "
           href="/2020/08/17/%E4%BD%BF%E7%94%A8-2020-8-17-VSCode-python%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="VSCode_python环境配置">VSCode_python环境配置</span>
            <span class="post-date" title="2020-08-17 00:00:00">2020/08/17</span>
        </a>
        
        <a  class="使用 "
           href="/2019/10/08/%E4%BD%BF%E7%94%A8-%E7%BC%96%E8%AF%91/"
           data-tag="Opencv 编译"
           data-author="" >
            <span class="post-title" title="OpenCV编译">OpenCV编译</span>
            <span class="post-date" title="2019-10-08 00:00:00">2019/10/08</span>
        </a>
        
        <a  class="demo demo 使用 "
           href="/2020/08/14/%E4%BD%BF%E7%94%A8-2020-8-14-VSCode%E5%A8%B1%E4%B9%90/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="VSCode娱乐">VSCode娱乐</span>
            <span class="post-date" title="2020-08-14 00:00:00">2020/08/14</span>
        </a>
        
        <a  class="使用 "
           href="/2020/03/19/%E4%BD%BF%E7%94%A8-conda%E5%B8%B8%E7%94%A8%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/"
           data-tag="conda"
           data-author="" >
            <span class="post-title" title="conda常用环境安装">conda常用环境安装</span>
            <span class="post-date" title="2020-03-19 11:01:04">2020/03/19</span>
        </a>
        
        <a  class="学习 C加加 "
           href="/2020/04/18/%E5%AD%A6%E4%B9%A0-c-%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="C++学习笔记-异常处理">C++学习笔记-异常处理</span>
            <span class="post-date" title="2020-04-18 00:00:00">2020/04/18</span>
        </a>
        
        <a  class="安装 "
           href="/2020/01/06/%E5%AE%89%E8%A3%85-2020-01-06-Github%E4%B8%8EGitee%E5%85%B1%E5%AD%98/"
           data-tag="软件,配置"
           data-author="" >
            <span class="post-title" title="Github与Gitee共存">Github与Gitee共存</span>
            <span class="post-date" title="2020-01-06 09:42:24">2020/01/06</span>
        </a>
        
        <a  class="安装 "
           href="/2020/03/27/%E5%AE%89%E8%A3%85-2020-3-27-Hoekey/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="HoeKey">HoeKey</span>
            <span class="post-date" title="2020-03-27 00:00:00">2020/03/27</span>
        </a>
        
        <a  class="安装 "
           href="/2020/03/23/%E5%AE%89%E8%A3%85-2020-3-23-ffmpeg%E8%A7%86%E9%A2%91%E8%A7%A3%E6%9E%90%E5%BA%93/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="ffmpeg视频解析库">ffmpeg视频解析库</span>
            <span class="post-date" title="2020-03-23 17:41:31">2020/03/23</span>
        </a>
        
        <a  class="安装 "
           href="/2019/12/30/%E5%AE%89%E8%A3%85-2020-3-3-%E5%A4%9A%E5%B1%8F%E6%98%BE%E7%A4%BA%E7%A5%9E%E5%99%A8/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="多屏显示神器——UltraMon">多屏显示神器——UltraMon</span>
            <span class="post-date" title="2019-12-30 16:49:44">2019/12/30</span>
        </a>
        
        <a  class="安装 "
           href="/2020/03/03/%E5%AE%89%E8%A3%85-2020-3-3-%E7%BD%91%E9%80%9F%E6%98%BE%E7%A4%BA%E6%8F%92%E4%BB%B6/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="网速显示插件">网速显示插件</span>
            <span class="post-date" title="2020-03-03 14:00:56">2020/03/03</span>
        </a>
        
        <a  class="安装 "
           href="/2020/04/01/%E5%AE%89%E8%A3%85-2020-4-1-Beyond-Compare/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="Beyond_Compare">Beyond_Compare</span>
            <span class="post-date" title="2020-04-01 14:33:13">2020/04/01</span>
        </a>
        
        <a  class="安装 "
           href="/2019/12/30/%E5%AE%89%E8%A3%85-2020-4-11-Xmind%E5%AE%89%E8%A3%85%E6%BF%80%E6%B4%BB/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="Xmind安装激活">Xmind安装激活</span>
            <span class="post-date" title="2019-12-30 16:49:44">2019/12/30</span>
        </a>
        
        <a  class="安装 "
           href="/2020/04/07/%E5%AE%89%E8%A3%85-2020-4-7-PyCharm%E5%AE%89%E8%A3%85%E6%BF%80%E6%B4%BB/"
           data-tag="激活"
           data-author="" >
            <span class="post-title" title="PyCharm安装激活">PyCharm安装激活</span>
            <span class="post-date" title="2020-04-07 00:00:00">2020/04/07</span>
        </a>
        
        <a  class="软件 安装 "
           href="/2020/05/27/%E5%AE%89%E8%A3%85-2020-5-27-%E5%A4%9A%E6%A1%8C%E9%9D%A2%E5%88%87%E6%8D%A2%E8%BD%AF%E4%BB%B6/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="多桌面切换软件">多桌面切换软件</span>
            <span class="post-date" title="2020-05-27 12:01:56">2020/05/27</span>
        </a>
        
        <a  class="demo demo 安装 "
           href="/2020/08/11/%E5%AE%89%E8%A3%85-2020-8-11-VMware%E8%99%9A%E6%8B%9F%E6%9C%BA/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="VMware虚拟机">VMware虚拟机</span>
            <span class="post-date" title="2020-08-11 00:00:00">2020/08/11</span>
        </a>
        
        <a  class="安装 "
           href="/2020/08/23/%E5%AE%89%E8%A3%85-2020-8-23-%E5%8F%8B%E6%83%85%E5%BC%BA%E6%A1%A3/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="友情强档">友情强档</span>
            <span class="post-date" title="2020-08-23 23:15:30">2020/08/23</span>
        </a>
        
        <a  class="安装 "
           href="/2020/08/18/%E5%AE%89%E8%A3%85-2020-8-18-%E5%9B%BE%E7%89%87%E8%BD%ACPDF%E5%B7%A5%E5%85%B7/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="图片转PDF工具">图片转PDF工具</span>
            <span class="post-date" title="2020-08-18 00:00:00">2020/08/18</span>
        </a>
        
        <a  class="知识 "
           href="/2020/01/08/%E7%9F%A5%E8%AF%86-2020-1-8-%E7%9F%A5%E8%AF%86/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="知识">知识</span>
            <span class="post-date" title="2020-01-08 11:07:28">2020/01/08</span>
        </a>
        
        <a  class="安装 "
           href="/2019/12/30/%E5%AE%89%E8%A3%85-2020-7-9-VSCode%E5%AE%89%E8%A3%85/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="demo">demo</span>
            <span class="post-date" title="2019-12-30 16:49:44">2019/12/30</span>
        </a>
        
        <a  class="demo 知识 demo "
           href="/2020/07/31/%E7%9F%A5%E8%AF%86-2020-7-31-%E6%89%8B%E6%9C%BA%E5%90%84%E8%BD%AF%E4%BB%B6%E7%9B%AE%E5%BD%95/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="手机各软件目录">手机各软件目录</span>
            <span class="post-date" title="2020-07-31 00:00:00">2020/07/31</span>
        </a>
        
        <a  class="知识 "
           href="/2020/04/14/%E7%9F%A5%E8%AF%86-2020-4-14-%E7%88%B1%E5%A5%BD%E5%88%97%E8%A1%A8/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="爱好列表">爱好列表</span>
            <span class="post-date" title="2020-04-14 00:00:00">2020/04/14</span>
        </a>
        
        <a  class="知识 "
           href="/2020/01/03/%E7%9F%A5%E8%AF%86-MarkDown%E8%AF%AD%E6%B3%95%E6%A0%BC%E5%BC%8F/"
           data-tag=""
           data-author="" >
            <span class="post-title" title="Markdown语法格式">Markdown语法格式</span>
            <span class="post-date" title="2020-01-03 17:05:53">2020/01/03</span>
        </a>
        
        <a  class="问题 VS "
           href="/2020/04/16/%E9%97%AE%E9%A2%98-2020-4-16-VS%E8%BD%AF%E4%BB%B6C1083%E9%94%99%E8%AF%AF/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="VS软件C1083错误">VS软件C1083错误</span>
            <span class="post-date" title="2020-04-16 14:17:31">2020/04/16</span>
        </a>
        
        <a  class="问题 "
           href="/2020/03/27/%E9%97%AE%E9%A2%98-2020-3-27-module-named-past/"
           data-tag="python"
           data-author="" >
            <span class="post-title" title="no module named &#39;past&#39;">no module named &#39;past&#39;</span>
            <span class="post-date" title="2020-03-27 00:00:00">2020/03/27</span>
        </a>
        
        <a  class="知识 "
           href="/2020/07/29/%E7%9F%A5%E8%AF%86-2020-7-29-IKBC%E9%94%AE%E7%9B%98%E4%BD%BF%E7%94%A8/"
           data-tag="demo"
           data-author="" >
            <span class="post-title" title="IKBC F108键盘使用">IKBC F108键盘使用</span>
            <span class="post-date" title="2020-07-29 00:00:00">2020/07/29</span>
        </a>
        
    </nav>
</div>
    </div>
    <div class="hide-list">
        <div class="semicircle">
            <div class="brackets first"><</div>
            <div class="brackets">&gt;</div>
        </div>
    </div>
</aside>
<div class="post">
    <div class="pjax">
        <article id="post-AI-2020-2-4-COCO数据集" class="article article-type-post" itemscope itemprop="blogPost">
    
        <h1 class="article-title">COCO数据集</h1>
    
    <div class="article-meta">
        
        
        
        <span class="book">
            
                <a  data-rel="AI">AI</a>/
            
                <a  data-rel="数据集">数据集</a>
            
        </span>
        
        
        <span class="tag">
            
            <a class="color5">demo</a>
            
        </span>
        
    </div>
    <div class="article-meta">
        
        创建时间:<time class="date" title='更新时间: 2023-06-19 13:58:36'>2020-02-04 14:48</time>
        
    </div>
    <div class="article-meta">
        
        <span>字数:3.3k</span>
        
        
        <span id="busuanzi_container_page_pv">
            阅读:<span id="busuanzi_value_page_pv">
                <span class="count-comment">
                    <span class="spinner">
                      <div class="cube1"></div>
                      <div class="cube2"></div>
                    </span>
                </span>
            </span>
        </span>
        
        
    </div>
    
    <div class="toc-ref">
    
        <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#数据集文件夹介绍"><span class="toc-text">数据集文件夹介绍</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#文件内容"><span class="toc-text">文件内容</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#1、annotations-trainval2017-zip"><span class="toc-text">1、annotations_trainval2017.zip</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#2、image-info-test2017-zip"><span class="toc-text">2、image_info_test2017.zip</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#3、stuff-annotations-trainval2017-zip"><span class="toc-text">3、stuff_annotations_trainval2017.zip</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#4、test2017-zip"><span class="toc-text">4、test2017.zip</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#5、train2017-zip"><span class="toc-text">5、train2017.zip</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#6、val2017-zip"><span class="toc-text">6、val2017.zip</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#JSON文件解析"><span class="toc-text">JSON文件解析</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#info字段"><span class="toc-text">info字段</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#images字段"><span class="toc-text">images字段</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#licenses字段"><span class="toc-text">licenses字段</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#annotations字段"><span class="toc-text">annotations字段</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#实例文档"><span class="toc-text">实例文档</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#帮助文档"><span class="toc-text">帮助文档</span></a></li></ol>
    
<style>
    .left-col .switch-btn,
    .left-col .switch-area {
        display: none;
    }
    .toc-level-3 i,
    .toc-level-3 ol {
        display: none !important;
    }
</style>
</div>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h1 id="数据集文件夹介绍"><a href="#数据集文件夹介绍" class="headerlink" title="数据集文件夹介绍"></a>数据集文件夹介绍</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">COCO2017</span><br><span class="line">├──annotations_trainval2017.zip</span><br><span class="line">├──image_info_test2017.zip</span><br><span class="line">├──stuff_annotations_trainval2017.zip</span><br><span class="line">├──test2017.zip</span><br><span class="line">├──train2017.zip</span><br><span class="line">├──val2017.zip</span><br></pre></td></tr></table></figure>
<p>下载地址<br><a href="http://images.cocodataset.org/zips/train2017.zip" target="_blank" rel="noopener">http://images.cocodataset.org/zips/train2017.zip</a><br><a href="http://images.cocodataset.org/zips/val2017.zip" target="_blank" rel="noopener">http://images.cocodataset.org/zips/val2017.zip</a><br><a href="http://images.cocodataset.org/zips/test2017.zip" target="_blank" rel="noopener">http://images.cocodataset.org/zips/test2017.zip</a><br><a href="http://images.cocodataset.org/annotations/stuff_annotations_trainval2017.zip" target="_blank" rel="noopener">http://images.cocodataset.org/annotations/stuff_annotations_trainval2017.zip</a><br><a href="http://images.cocodataset.org/annotations/panoptic_annotations_trainval2017.zip" target="_blank" rel="noopener">http://images.cocodataset.org/annotations/panoptic_annotations_trainval2017.zip</a><br><a href="http://images.cocodataset.org/zips/unlabeled2017.zip" target="_blank" rel="noopener">http://images.cocodataset.org/zips/unlabeled2017.zip</a></p>
<h1 id="文件内容"><a href="#文件内容" class="headerlink" title="文件内容"></a>文件内容</h1><p>以下是每个文件内部的文件说明</p>
<h2 id="1、annotations-trainval2017-zip"><a href="#1、annotations-trainval2017-zip" class="headerlink" title="1、annotations_trainval2017.zip"></a>1、annotations_trainval2017.zip</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">captions_train2017.json   # 看图说话</span><br><span class="line">captions_val2017.json     # 看图说话</span><br><span class="line">instances_train2017.json  # 目标检测</span><br><span class="line">instances_val2017.json    # 目标检测</span><br><span class="line">person_keypoints_train2017.json  # 目标上的关键点</span><br><span class="line">person_keypoints_val2017.json    # 目标上的关键点</span><br></pre></td></tr></table></figure>
<h2 id="2、image-info-test2017-zip"><a href="#2、image-info-test2017-zip" class="headerlink" title="2、image_info_test2017.zip"></a>2、image_info_test2017.zip</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">image_info_test2017.json</span><br><span class="line">image_info_test-dev2017.json</span><br></pre></td></tr></table></figure>
<h2 id="3、stuff-annotations-trainval2017-zip"><a href="#3、stuff-annotations-trainval2017-zip" class="headerlink" title="3、stuff_annotations_trainval2017.zip"></a>3、stuff_annotations_trainval2017.zip</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">deprecated-challenge2017</span><br><span class="line">├──train-ids.txt</span><br><span class="line">└──val-ids.txt</span><br><span class="line">stuff_train2017.json</span><br><span class="line">stuff_train2017_pixelmaps.zip</span><br><span class="line">stuff_val2017.json</span><br><span class="line">stuff_val2017_pixelmaps.zip</span><br></pre></td></tr></table></figure>
<h2 id="4、test2017-zip"><a href="#4、test2017-zip" class="headerlink" title="4、test2017.zip"></a>4、test2017.zip</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">000000000001.jpg</span><br><span class="line">000000000116.jpg</span><br><span class="line">……</span><br></pre></td></tr></table></figure>
<h2 id="5、train2017-zip"><a href="#5、train2017-zip" class="headerlink" title="5、train2017.zip"></a>5、train2017.zip</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">000000000201.jpg</span><br><span class="line">000000000316.jpg</span><br><span class="line">……</span><br></pre></td></tr></table></figure>
<h2 id="6、val2017-zip"><a href="#6、val2017-zip" class="headerlink" title="6、val2017.zip"></a>6、val2017.zip</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">000000000401.jpg</span><br><span class="line">000000000516.jpg</span><br><span class="line">……</span><br></pre></td></tr></table></figure>
<h1 id="JSON文件解析"><a href="#JSON文件解析" class="headerlink" title="JSON文件解析"></a>JSON文件解析</h1><p>instances_train2017.json、instances_val2017.json文件解析<br>Object Instance这种格式的文件从头至尾按照顺序分为以下段落：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">&#123;</span><br><span class="line">    &quot;info&quot;: info,</span><br><span class="line">    &quot;licenses&quot;: [license],</span><br><span class="line">    &quot;images&quot;: [image],</span><br><span class="line">    &quot;annotations&quot;: [annotation],</span><br><span class="line">    &quot;categories&quot;: [category]</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>你打开这两个文件，虽然内容很多，但从文件开始到结尾按照顺序就是这5段。在不同的JSON文件中info、licenses、images是一样的。不同的是annotation和category这两种结构体，他们在不同类型的JSON文件中是不一样的。</p>
<p>images数组元素的数量等同于划入训练集（或者测试集）的图片的数量；</p>
<p>annotations数组元素的数量等同于训练集（或者测试集）中bounding box的数量；</p>
<p>categories数组元素的数量为80（2017年）；</p>
<h2 id="info字段"><a href="#info字段" class="headerlink" title="info字段"></a>info字段</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br></pre></td><td class="code"><pre><span class="line">info&#123;</span><br><span class="line">    &quot;year&quot;: int,</span><br><span class="line">    &quot;version&quot;: str,</span><br><span class="line">    &quot;description&quot;: str,</span><br><span class="line">    &quot;contributor&quot;: str,</span><br><span class="line">    &quot;url&quot;: str,</span><br><span class="line">    &quot;date_created&quot;: datetime,</span><br><span class="line">&#125;</span><br><span class="line"># info的一个实例</span><br><span class="line">&quot;info&quot;:&#123;</span><br><span class="line">	&quot;description&quot;:&quot;This is stable 1.0 version of the 2014 MS COCO dataset.&quot;,</span><br><span class="line">	&quot;url&quot;:&quot;http:\&#x2F;\&#x2F;mscoco.org&quot;,</span><br><span class="line">	&quot;version&quot;:&quot;1.0&quot;,&quot;year&quot;:2014,</span><br><span class="line">	&quot;contributor&quot;:&quot;Microsoft COCO group&quot;,</span><br><span class="line">	&quot;date_created&quot;:&quot;2015-01-27 09:11:52.357475&quot;</span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>
<h2 id="images字段"><a href="#images字段" class="headerlink" title="images字段"></a>images字段</h2><p>Images是包含多个image实例的数组，对于一个image类型的实例</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line">image&#123;</span><br><span class="line">    &quot;id&quot;: int,</span><br><span class="line">    &quot;width&quot;: int,</span><br><span class="line">    &quot;height&quot;: int,</span><br><span class="line">    &quot;file_name&quot;: str,</span><br><span class="line">    &quot;license&quot;: int,</span><br><span class="line">    &quot;flickr_url&quot;: str,</span><br><span class="line">    &quot;coco_url&quot;: str,</span><br><span class="line">    &quot;date_captured&quot;: datetime,</span><br><span class="line">&#125;</span><br><span class="line"># images实例</span><br><span class="line">&#123;</span><br><span class="line">	&quot;license&quot;:3,</span><br><span class="line">	&quot;file_name&quot;:&quot;COCO_val2014_000000391895.jpg&quot;,</span><br><span class="line">	&quot;coco_url&quot;:&quot;http:\&#x2F;\&#x2F;mscoco.org\&#x2F;images\&#x2F;391895&quot;,</span><br><span class="line">	&quot;height&quot;:360,&quot;width&quot;:640,&quot;date_captured&quot;:&quot;2013-11-14 11:18:45&quot;,</span><br><span class="line">	&quot;flickr_url&quot;:&quot;http:\&#x2F;\&#x2F;farm9.staticflickr.com\&#x2F;8186\&#x2F;8119368305_4e622c8349_z.jpg&quot;,</span><br><span class="line">	&quot;id&quot;:391895</span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>
<h2 id="licenses字段"><a href="#licenses字段" class="headerlink" title="licenses字段"></a>licenses字段</h2><p>licenses是包含多个license实例的数组，对于一个license类型的实例</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line">license&#123;</span><br><span class="line">    &quot;id&quot;: int,</span><br><span class="line">    &quot;name&quot;: str,</span><br><span class="line">    &quot;url&quot;: str,</span><br><span class="line">&#125; </span><br><span class="line">licenses实例</span><br><span class="line">&#123;</span><br><span class="line">	&quot;url&quot;:&quot;http:\&#x2F;\&#x2F;creativecommons.org\&#x2F;licenses\&#x2F;by-nc-sa\&#x2F;2.0\&#x2F;&quot;,</span><br><span class="line">	&quot;id&quot;:1,</span><br><span class="line">	&quot;name&quot;:&quot;Attribution-NonCommercial-ShareAlike License&quot;</span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>

<h2 id="annotations字段"><a href="#annotations字段" class="headerlink" title="annotations字段"></a>annotations字段</h2><p>annotations字段是包含多个annotation实例的一个数组，annotation类型本身又包含了一系列的字段，如这个目标的category id和segmentation mask。segmentation格式取决于这个实例是一个单个的对象（即iscrowd=0，将使用polygons格式）还是一组对象（即iscrowd=1，将使用RLE格式）。如下所示：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">annotation&#123;</span><br><span class="line">    &quot;id&quot;: int,    </span><br><span class="line">    &quot;image_id&quot;: int,</span><br><span class="line">    &quot;category_id&quot;: int,</span><br><span class="line">    &quot;segmentation&quot;: RLE or [polygon],</span><br><span class="line">    &quot;area&quot;: float,</span><br><span class="line">    &quot;bbox&quot;: [x,y,width,height],</span><br><span class="line">    &quot;iscrowd&quot;: 0 or 1,</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>注意，单个的对象（iscrowd=0)可能需要多个polygon来表示，比如这个对象在图像中被挡住了。而iscrowd=1时（将标注一组对象，比如一群人）的segmentation使用的就是RLE格式。</p>
<p>注意啊，只要是iscrowd=0那么segmentation就是polygon格式；只要iscrowd=1那么segmentation就是RLE格式。另外，每个对象（不管是iscrowd=0还是iscrowd=1）都会有一个矩形框bbox ，矩形框左上角的坐标和矩形框的长宽会以数组的形式提供，数组第一个元素就是左上角的横坐标值。</p>
<p>area是area of encoded masks，是标注区域的面积。如果是矩形框，那就是高乘宽；如果是polygon或者RLE，那就复杂点。</p>
<p>最后，annotation结构中的categories字段存储的是当前对象所属的category的id，以及所属的supercategory的name。</p>
<p>下面是从instances_val2017.json文件中摘出的一个annotation的实例，这里的segmentation就是polygon格式：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">&#123;</span><br><span class="line">	&quot;segmentation&quot;: [[510.66,423.01,511.72,420.03,510.45......]],</span><br><span class="line">	&quot;area&quot;: 702.1057499999998,</span><br><span class="line">	&quot;iscrowd&quot;: 0,</span><br><span class="line">	&quot;image_id&quot;: 289343,</span><br><span class="line">	&quot;bbox&quot;: [473.07,395.93,38.65,28.67],</span><br><span class="line">	&quot;category_id&quot;: 18,</span><br><span class="line">	&quot;id&quot;: 1768</span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>

<h1 id="实例文档"><a href="#实例文档" class="headerlink" title="实例文档"></a>实例文档</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br></pre></td><td class="code"><pre><span class="line">&#123;</span><br><span class="line">	&quot;info&quot;: &#123;</span><br><span class="line">		&quot;description&quot;: &quot;COCO 2017 Dataset&quot;,</span><br><span class="line">		&quot;url&quot;: &quot;http:&#x2F;&#x2F;cocodataset.org&quot;,</span><br><span class="line">		&quot;version&quot;: &quot;1.0&quot;,</span><br><span class="line">		&quot;year&quot;: 2017,</span><br><span class="line">		&quot;contributor&quot;: &quot;COCO Consortium&quot;,</span><br><span class="line">		&quot;date_created&quot;: &quot;2017&#x2F;09&#x2F;01&quot;</span><br><span class="line">	&#125;,</span><br><span class="line">	&quot;licenses&quot;: [&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;creativecommons.org&#x2F;licenses&#x2F;by-nc-sa&#x2F;2.0&#x2F;&quot;,</span><br><span class="line">			&quot;id&quot;: 1,</span><br><span class="line">			&quot;name&quot;: &quot;Attribution-NonCommercial-ShareAlike License&quot;</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;creativecommons.org&#x2F;licenses&#x2F;by-nc&#x2F;2.0&#x2F;&quot;,</span><br><span class="line">			&quot;id&quot;: 2,</span><br><span class="line">			&quot;name&quot;: &quot;Attribution-NonCommercial License&quot;</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;creativecommons.org&#x2F;licenses&#x2F;by-nc-nd&#x2F;2.0&#x2F;&quot;,</span><br><span class="line">			&quot;id&quot;: 3,</span><br><span class="line">			&quot;name&quot;: &quot;Attribution-NonCommercial-NoDerivs License&quot;</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;creativecommons.org&#x2F;licenses&#x2F;by&#x2F;2.0&#x2F;&quot;,</span><br><span class="line">			&quot;id&quot;: 4,</span><br><span class="line">			&quot;name&quot;: &quot;Attribution License&quot;</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;creativecommons.org&#x2F;licenses&#x2F;by-sa&#x2F;2.0&#x2F;&quot;,</span><br><span class="line">			&quot;id&quot;: 5,</span><br><span class="line">			&quot;name&quot;: &quot;Attribution-ShareAlike License&quot;</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;creativecommons.org&#x2F;licenses&#x2F;by-nd&#x2F;2.0&#x2F;&quot;,</span><br><span class="line">			&quot;id&quot;: 6,</span><br><span class="line">			&quot;name&quot;: &quot;Attribution-NoDerivs License&quot;</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;flickr.com&#x2F;commons&#x2F;usage&#x2F;&quot;,</span><br><span class="line">			&quot;id&quot;: 7,</span><br><span class="line">			&quot;name&quot;: &quot;No known copyright restrictions&quot;</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;url&quot;: &quot;http:&#x2F;&#x2F;www.usa.gov&#x2F;copyright.shtml&quot;,</span><br><span class="line">			&quot;id&quot;: 8,</span><br><span class="line">			&quot;name&quot;: &quot;United States Government Work&quot;</span><br><span class="line">		&#125;</span><br><span class="line">	],</span><br><span class="line">	&quot;images&quot;: [&#123;</span><br><span class="line">			&quot;license&quot;: 4,</span><br><span class="line">			&quot;file_name&quot;: &quot;000000397133.jpg&quot;,</span><br><span class="line">			&quot;coco_url&quot;: &quot;http:&#x2F;&#x2F;images.cocodataset.org&#x2F;val2017&#x2F;000000397133.jpg&quot;,</span><br><span class="line">			&quot;height&quot;: 427,</span><br><span class="line">			&quot;width&quot;: 640,</span><br><span class="line">			&quot;date_captured&quot;: &quot;2013-11-14 17:02:52&quot;,</span><br><span class="line">			&quot;flickr_url&quot;: &quot;http:&#x2F;&#x2F;farm7.staticflickr.com&#x2F;6116&#x2F;6255196340_da26cf2c9e_z.jpg&quot;,</span><br><span class="line">			&quot;id&quot;: 397133</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;license&quot;: 1,</span><br><span class="line">			&quot;file_name&quot;: &quot;000000158227.jpg&quot;,</span><br><span class="line">			&quot;coco_url&quot;: &quot;http:&#x2F;&#x2F;images.cocodataset.org&#x2F;val2017&#x2F;000000158227.jpg&quot;,</span><br><span class="line">			&quot;height&quot;: 357,</span><br><span class="line">			&quot;width&quot;: 500,</span><br><span class="line">			&quot;date_captured&quot;: &quot;2013-11-22 23:05:30&quot;,</span><br><span class="line">			&quot;flickr_url&quot;: &quot;http:&#x2F;&#x2F;farm1.staticflickr.com&#x2F;210&#x2F;495201463_3d6b548c08_z.jpg&quot;,</span><br><span class="line">			&quot;id&quot;: 158227</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;license&quot;: 1,</span><br><span class="line">			&quot;file_name&quot;: &quot;000000407646.jpg&quot;,</span><br><span class="line">			&quot;coco_url&quot;: &quot;http:&#x2F;&#x2F;images.cocodataset.org&#x2F;val2017&#x2F;000000407646.jpg&quot;,</span><br><span class="line">			&quot;height&quot;: 400,</span><br><span class="line">			&quot;width&quot;: 500,</span><br><span class="line">			&quot;date_captured&quot;: &quot;2013-11-23 03:58:53&quot;,</span><br><span class="line">			&quot;flickr_url&quot;: &quot;http:&#x2F;&#x2F;farm4.staticflickr.com&#x2F;3110&#x2F;2855627782_17b93a684e_z.jpg&quot;,</span><br><span class="line">			&quot;id&quot;: 407646</span><br><span class="line">		&#125;,</span><br><span class="line">	],</span><br><span class="line">	&quot;annotations&quot;: [&#123;</span><br><span class="line">			&quot;segmentation&quot;: [</span><br><span class="line">				[510.66, 510.03, 423.01, 510.45, 423.01]</span><br><span class="line">			],</span><br><span class="line">			&quot;area&quot;: 702.1057499999998,</span><br><span class="line">			&quot;iscrowd&quot;: 0,</span><br><span class="line">			&quot;image_id&quot;: 289343,</span><br><span class="line">			&quot;bbox&quot;: [473.07, 395.93, 38.65, 28.67],</span><br><span class="line">			&quot;category_id&quot;: 18,</span><br><span class="line">			&quot;id&quot;: 1768</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;segmentation&quot;: [</span><br><span class="line">				[289.749, 228.64, 444.27, 291.88, 443.74]</span><br><span class="line">			],</span><br><span class="line">			&quot;area&quot;: 27718.476299999995,</span><br><span class="line">			&quot;iscrowd&quot;: 0,</span><br><span class="line">			&quot;image_id&quot;: 61471,</span><br><span class="line">			&quot;bbox&quot;: [272.1, 200.23, 151.97, 279.77],</span><br><span class="line">			&quot;category_id&quot;: 18,</span><br><span class="line">			&quot;id&quot;: 1773</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;segmentation&quot;: &#123;</span><br><span class="line">				&quot;counts&quot;: [272, 2, 4, , 221, 16, 228, 8, 10250],</span><br><span class="line">				&quot;size&quot;: [240, 320]</span><br><span class="line">			&#125;,</span><br><span class="line">			&quot;area&quot;: 18419,</span><br><span class="line">			&quot;iscrowd&quot;: 1,</span><br><span class="line">			&quot;image_id&quot;: 448263,</span><br><span class="line">			&quot;bbox&quot;: [1, 0, 276, 122],</span><br><span class="line">			&quot;category_id&quot;: 1,</span><br><span class="line">			&quot;id&quot;: 900100448263</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;segmentation&quot;: &#123;</span><br><span class="line">				&quot;counts&quot;: [8214, 6, 6634, 4, 99294],</span><br><span class="line">				&quot;size&quot;: [640, 549]</span><br><span class="line">			&#125;,</span><br><span class="line">			&quot;area&quot;: 962,</span><br><span class="line">			&quot;iscrowd&quot;: 1,</span><br><span class="line">			&quot;image_id&quot;: 374545,</span><br><span class="line">			&quot;bbox&quot;: [12, 524, 381, 33],</span><br><span class="line">			&quot;category_id&quot;: 1,</span><br><span class="line">			&quot;id&quot;: 900100374545</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;</span><br><span class="line">			&quot;segmentation&quot;: &#123;</span><br><span class="line">				&quot;counts&quot;: [66916, 6, 58785, 8, 588, 1, 114303],</span><br><span class="line">				&quot;size&quot;: [594, 640]</span><br><span class="line">			&#125;,</span><br><span class="line">			&quot;area&quot;: 6197,</span><br><span class="line">			&quot;iscrowd&quot;: 1,</span><br><span class="line">			&quot;image_id&quot;: 284445,</span><br><span class="line">			&quot;bbox&quot;: [112, 322, 335, 94],</span><br><span class="line">			&quot;category_id&quot;: 1,</span><br><span class="line">			&quot;id&quot;: 900100284445</span><br><span class="line">		&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;person&quot;,&quot;id&quot;: 1,&quot;name&quot;: &quot;person&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 2,&quot;name&quot;: &quot;bicycle&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 3,&quot;name&quot;: &quot;car&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 4,&quot;name&quot;: &quot;motorcycle&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 5,&quot;name&quot;: &quot;airplane&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 6,&quot;name&quot;: &quot;bus&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 7,&quot;name&quot;: &quot;train&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 8,&quot;name&quot;: &quot;truck&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;vehicle&quot;,&quot;id&quot;: 9,&quot;name&quot;: &quot;boat&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;outdoor&quot;,&quot;id&quot;: 10,&quot;name&quot;: &quot;traffic light&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;outdoor&quot;,&quot;id&quot;: 11,&quot;name&quot;: &quot;fire hydrant&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;outdoor&quot;,&quot;id&quot;: 13,&quot;name&quot;: &quot;stop sign&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;outdoor&quot;,&quot;id&quot;: 14,&quot;name&quot;: &quot;parking meter&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;outdoor&quot;,&quot;id&quot;: 15,&quot;name&quot;: &quot;bench&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 16,&quot;name&quot;: &quot;bird&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 17,&quot;name&quot;: &quot;cat&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 18,&quot;name&quot;: &quot;dog&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 19,&quot;name&quot;: &quot;horse&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 20,&quot;name&quot;: &quot;sheep&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 21,&quot;name&quot;: &quot;cow&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 22,&quot;name&quot;: &quot;elephant&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 23,&quot;name&quot;: &quot;bear&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 24,&quot;name&quot;: &quot;zebra&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;animal&quot;,&quot;id&quot;: 25,&quot;name&quot;: &quot;giraffe&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;accessory&quot;,&quot;id&quot;: 27,&quot;name&quot;: &quot;backpack&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;accessory&quot;,&quot;id&quot;: 28,&quot;name&quot;: &quot;umbrella&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;accessory&quot;,&quot;id&quot;: 31,&quot;name&quot;: &quot;handbag&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;accessory&quot;,&quot;id&quot;: 32,&quot;name&quot;: &quot;tie&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;accessory&quot;,&quot;id&quot;: 33,&quot;name&quot;: &quot;suitcase&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 34,&quot;name&quot;: &quot;frisbee&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 35,&quot;name&quot;: &quot;skis&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 36,&quot;name&quot;: &quot;snowboard&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 37,&quot;name&quot;: &quot;sports ball&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 38,&quot;name&quot;: &quot;kite&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 39,&quot;name&quot;: &quot;baseball bat&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 40,&quot;name&quot;: &quot;baseball glove&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 41,&quot;name&quot;: &quot;skateboard&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 42,&quot;name&quot;: &quot;surfboard&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;sports&quot;,&quot;id&quot;: 43,&quot;name&quot;: &quot;tennis racket&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;kitchen&quot;,&quot;id&quot;: 44,&quot;name&quot;: &quot;bottle&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;kitchen&quot;,&quot;id&quot;: 46,&quot;name&quot;: &quot;wine glass&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;kitchen&quot;,&quot;id&quot;: 47,&quot;name&quot;: &quot;cup&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;kitchen&quot;,&quot;id&quot;: 48,&quot;name&quot;: &quot;fork&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;kitchen&quot;,&quot;id&quot;: 49,&quot;name&quot;: &quot;knife&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;kitchen&quot;,&quot;id&quot;: 50,&quot;name&quot;: &quot;spoon&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;kitchen&quot;,&quot;id&quot;: 51,&quot;name&quot;: &quot;bowl&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 52,&quot;name&quot;: &quot;banana&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 53,&quot;name&quot;: &quot;apple&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 54,&quot;name&quot;: &quot;sandwich&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 55,&quot;name&quot;: &quot;orange&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 56,&quot;name&quot;: &quot;broccoli&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 57,&quot;name&quot;: &quot;carrot&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 58,&quot;name&quot;: &quot;hot dog&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 59,&quot;name&quot;: &quot;pizza&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 60,&quot;name&quot;: &quot;donut&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;food&quot;,&quot;id&quot;: 61,&quot;name&quot;: &quot;cake&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;furniture&quot;,&quot;id&quot;: 62,&quot;name&quot;: &quot;chair&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;furniture&quot;,&quot;id&quot;: 63,&quot;name&quot;: &quot;couch&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;furniture&quot;,&quot;id&quot;: 64,&quot;name&quot;: &quot;potted plant&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;furniture&quot;,&quot;id&quot;: 65,&quot;name&quot;: &quot;bed&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;furniture&quot;,&quot;id&quot;: 67,&quot;name&quot;: &quot;dining table&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;furniture&quot;,&quot;id&quot;: 70,&quot;name&quot;: &quot;toilet&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;electronic&quot;,&quot;id&quot;: 72,&quot;name&quot;: &quot;tv&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;electronic&quot;,&quot;id&quot;: 73,&quot;name&quot;: &quot;laptop&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;electronic&quot;,&quot;id&quot;: 74,&quot;name&quot;: &quot;mouse&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;electronic&quot;,&quot;id&quot;: 75,&quot;name&quot;: &quot;remote&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;electronic&quot;,&quot;id&quot;: 76,&quot;name&quot;: &quot;keyboard&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;electronic&quot;,&quot;id&quot;: 77,&quot;name&quot;: &quot;cell phone&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;appliance&quot;,&quot;id&quot;: 78,&quot;name&quot;: &quot;microwave&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;appliance&quot;,&quot;id&quot;: 79,&quot;name&quot;: &quot;oven&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;appliance&quot;,&quot;id&quot;: 80,&quot;name&quot;: &quot;toaster&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;appliance&quot;,&quot;id&quot;: 81,&quot;name&quot;: &quot;sink&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;appliance&quot;,&quot;id&quot;: 82,&quot;name&quot;: &quot;refrigerator&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;indoor&quot;,&quot;id&quot;: 84,&quot;name&quot;: &quot;book&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;indoor&quot;,&quot;id&quot;: 85,&quot;name&quot;: &quot;clock&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;indoor&quot;,&quot;id&quot;: 86,&quot;name&quot;: &quot;vase&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;indoor&quot;,&quot;id&quot;: 87,&quot;name&quot;: &quot;scissors&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;indoor&quot;,&quot;id&quot;: 88,&quot;name&quot;: &quot;teddy bear&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;indoor&quot;,&quot;id&quot;: 89,&quot;name&quot;: &quot;hair drier&quot;&#125;,</span><br><span class="line">		&#123;&quot;supercategory&quot;: &quot;indoor&quot;,&quot;id&quot;: 90,&quot;name&quot;: &quot;toothbrush&quot;&#125;</span><br><span class="line">	]</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<h1 id="帮助文档"><a href="#帮助文档" class="headerlink" title="帮助文档"></a>帮助文档</h1><p><a href="https://zhuanlan.zhihu.com/p/29393415" target="_blank" rel="noopener">COCO数据集的标注格式</a></p>
<hr>
<center>
<table>
    <tr>
        <td >
            <center>
                <img src="https://i.loli.net/2020/01/08/CJz85Sbal6M7EOV.png" width="200"/>
            </center>
            <center style="font-weight:900">
                微信：宏沉一笑
            </center>
        </td>
        <td >
            <center>
                <img src="https://i.loli.net/2020/01/08/veq2DSphHME9KPV.jpg" width="200"/>
            </center>
            <center style="font-weight:900">
                公众号：漫步之行
            </center>
        </td>
    </tr>
</table>
</center>


<p><strong>签名：Smile every day</strong><br><strong>名字：宏沉一笑</strong><br><strong>邮箱：<a href="mailto:whghcyx@outlook.com">whghcyx@outlook.com</a></strong><br><strong>个人网站：<a href="https://whg555.github.io" target="_blank" rel="noopener">https://whg555.github.io</a></strong>  </p>
<hr>

      
       <hr><span style="font-style: italic;color: gray;"> 转载请注明来源，欢迎对文章中的引用来源进行考证，欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论，也可以邮件至 whghcyx@outlook.com </span>
    </div>
</article>


<p>
    <a  class="dashang" onclick="dashangToggle()">赏</a>
</p>


<div class="article_copyright">
    <p><span class="copy-title">文章标题:</span>COCO数据集</p>
    <p><span class="copy-title">文章字数:</span><span class="post-count">3.3k</span></p>
    <p><span class="copy-title">本文作者:</span><a  title="宏沉一笑">宏沉一笑</a></p>
    <p><span class="copy-title">发布时间:</span>2020-02-04, 14:48:14</p>
    <p><span class="copy-title">最后更新:</span>2023-06-19, 13:58:36</p>
    <span class="copy-title">原始链接:</span><a class="post-url" href="/2020/02/04/AI-2020-2-4-COCO%E6%95%B0%E6%8D%AE%E9%9B%86/" title="COCO数据集">https://whghcyx.gitee.io/2020/02/04/AI-2020-2-4-COCO%E6%95%B0%E6%8D%AE%E9%9B%86/</a>
    <p>
        <span class="copy-title">版权声明:</span><i class="fa fa-creative-commons"></i> <a rel="license noopener" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank" title="CC BY-NC-SA 4.0 International" target = "_blank">"署名-非商用-相同方式共享 4.0"</a> 转载请保留原文链接及作者。
    </p>
</div>





    




    </div>
    <div class="copyright">
        <p class="footer-entry">©2016-2019 Hcyx</p>
 <!--<p class="footer-entry">Built with <a href="https://hexo.io/" target="_blank">Hexo</a> and <a href="https://github.com/yelog/hexo-theme-3-hexo" target="_blank">3-hexo</a> theme</p>-->

    </div>
    <div class="full-toc">
        <button class="full"><span class="min "></span></button>
<button class="post-toc-menu"><span class="post-toc-menu-icons"></span></button>
<div class="post-toc"><span class="post-toc-title">目录</span>
    <div class="post-toc-content">

    </div>
</div>
<a class="" id="rocket" ></a>

    </div>
</div>
<div class="acParent"></div>

<div class="hide_box" onclick="dashangToggle()"></div>
<div class="shang_box">
    <a class="shang_close"  onclick="dashangToggle()">×</a>
    <div class="shang_tit">
        <p>喜欢就点赞,疼爱就打赏</p>
    </div>
    <div class="shang_payimg">
        <div class="pay_img">
            <img src="/img/alipay.jpg" class="alipay" title="扫码支持">
            <img src="/img/weixin.jpg" class="weixin" title="扫码支持">
        </div>
    </div>
    <div class="shang_payselect">
        <span><label><input type="radio" name="pay" checked value="alipay">支付宝</label></span><span><label><input type="radio" name="pay" value="weixin">微信</label></span>
    </div>
</div>


</body>
<script src="/js/jquery.pjax.js?v=1.0.1" ></script>

<script src="/js/script.js?v=1.0.1" ></script>
<script>
    var img_resize = 'default';
    /*作者、标签的自动补全*/
    $(function () {
        $('.search').AutoComplete({
            'data': ['#demo','#下载','#总览','#注释','#调试','#obsidian','#ubuntu','#ros','#软件','#安卓','#配置','#cmd','#Colab','#tensorboard','#Opencv 编译','#conda','#激活','#python',],
            'itemHeight': 20,
            'width': 418
        }).AutoComplete('show');
    })
    function initArticle() {
        /*渲染对应的表格样式*/
        
            $(".post .pjax table").addClass("green_title");
        

        /*渲染打赏样式*/
        
        $("input[name=pay]").on("click", function () {
            if($("input[name=pay]:checked").val()=="weixin"){
                $(".shang_box .shang_payimg .pay_img").addClass("weixin_img");
            } else {
                $(".shang_box .shang_payimg .pay_img").removeClass("weixin_img");
            }
        })
        

        /*高亮代码块行号*/
        
        $('pre code').each(function(){
            var lines = $(this).text().split('\n').length - 1, widther='';
            if (lines>99) {
                widther = 'widther'
            }
            var $numbering = $('<ul/>').addClass('pre-numbering ' + widther).attr("unselectable","on");
            $(this).addClass('has-numbering ' + widther)
                    .parent()
                    .append($numbering);
            for(var i=1;i<=lines;i++){
                $numbering.append($('<li/>').text(i));
            }
        });
        

        /*访问数量*/
        
        $.getScript("//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js");
        

        /*代码高亮，行号对齐*/
        $('.pre-numbering').css('line-height',$('.has-numbering').css('line-height'));

        
        
    }

    /*打赏页面隐藏与展示*/
    
    function dashangToggle() {
        $(".shang_box").fadeToggle();
        $(".hide_box").fadeToggle();
    }
    

</script>

<!--加入行号的高亮代码块样式-->

<style>
    pre{
        position: relative;
        margin-bottom: 24px;
        border-radius: 10px;
        border: 1px solid #e2dede;
        background: #FFF;
        overflow: hidden;
    }
    code.has-numbering{
        margin-left: 30px;
    }
    code.has-numbering.widther{
        margin-left: 35px;
    }
    .pre-numbering{
        margin: 0px;
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        padding: 0.5em 3px 0.7em 5px;
        border-right: 1px solid #C3CCD0;
        text-align: right;
        color: #AAA;
        background-color: #fafafa;
    }
    .pre-numbering.widther {
        width: 35px;
    }
</style>

<!--自定义样式设置-->
<style>
    
    
    .nav {
        width: 542px;
    }
    .nav.fullscreen {
        margin-left: -542px;
    }
    .nav-left {
        width: 120px;
    }
    
    
    @media screen and (max-width: 1468px) {
        .nav {
            width: 492px;
        }
        .nav.fullscreen {
            margin-left: -492px;
        }
        .nav-left {
            width: 100px;
        }
    }
    
    
    @media screen and (max-width: 1024px) {
        .nav {
            width: 492px;
            margin-left: -492px
        }
        .nav.fullscreen {
            margin-left: 0;
        }
        .nav .hide-list.fullscreen {
            left: 492px
        }
    }
    
    @media screen and (max-width: 426px) {
        .nav {
            width: 100%;
        }
        .nav-left {
            width: 100%;
        }
    }
    
    
    .nav-right .title-list nav a .post-title, .nav-right .title-list #local-search-result a .post-title {
        color: #383636;
    }
    
    
    .nav-right .title-list nav a .post-date, .nav-right .title-list #local-search-result a .post-date {
        color: #5e5e5f;
    }
    
    
    .nav-right nav a.hover, #local-search-result a.hover{
        background-color: #e2e0e0;
    }
    
    

    /*列表样式*/
    
    .post .pjax article .article-entry>ol, .post .pjax article .article-entry>ul, .post .pjax article>ol, .post .pjax article>ul{
        border: #e2dede solid 1px;
        border-radius: 10px;
        padding: 10px 32px 10px 56px;
    }
    .post .pjax article .article-entry li>ol, .post .pjax article .article-entry li>ul,.post .pjax article li>ol, .post .pjax article li>ul{
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .post .pjax article .article-entry>ol>li, .post .pjax article .article-entry>ul>li,.post .pjax article>ol>li, .post .pjax article>ul>li{
        margin-bottom: auto;
        margin-left: auto;
    }
    .post .pjax article .article-entry li>ol>li, .post .pjax article .article-entry li>ul>li,.post .pjax article li>ol>li, .post .pjax article li>ul>li{
        margin-bottom: auto;
        margin-left: auto;
    }
    

    /* 背景图样式 */
    
    


    /*引用块样式*/
    

    /*文章列表背景图*/
    
    .nav-right:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.3;
        background: url("https://i.loli.net/2019/07/22/5d3521411f3f169375.png");
        background-repeat: no-repeat;
        background-position: 50% 0;
        -ms-background-size: cover;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: cover;
    }
    

    
</style>







</html>
